package com.cpan.android.sms.z.demo;

import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;

import com.cpan.android.sms.R;
import com.cpan.android.sms.dialog.SMSDialog;

public class ShowDialogDemo extends Activity {

	private Context mContext;
	TextView msg;

	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		mContext = this;
		// LayoutInflater inflater = LayoutInflater.from(mContext);
		// final View simpleDialog = inflater.inflate(
		// R.layout.sms_on_reciver_simple, null);
		// AlertDialog dialog = new AlertDialog.Builder(mContext).setView(
		// simpleDialog).create();
		// dialog.show();
		// msg = (TextView) findViewById(R.id.txt_sms_on_receive_message);
		// msg.setText("sdfsdf");
		SMSDialog.showDialog(mContext, 0, "t", "sd");
	}
}
